<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Vue页面结构</title>
    <script src="./lib/vue-2.4.0.js"></script>
    <link rel="stylesheet" href="./lib/animate.css">
</head>
<body>
    <div id="app">
        <transition 
        name='coustom-class-transition'
        enter-active-class='animated tada'
        leave-active-class='animated bounceOutRight'
        >
            <p v-show='show'>hello vuejs</p>
        </transition>
        <button @click="show=!show">animate</button>
    </div>
</body>
<script>
    var vm=new Vue({
        el:'#app',
        data:{
            show:true
        },
        methods:{
        },
        //生命周期函数
        created:function(){
        },
        mounted:function(){
        }
    });
</script>
</html>